import Vue from "./vue.js";
import MfpConfig from "../build/mfp.config.js";
import components from "./components/index.js";
import "./store/index.js";
const configs = [];

components.forEach((key) => {
  try {
    Vue.component(`${MfpConfig.name}-${key}-config`, () => import(`./components/${key}/config.vue`));
    configs.push(import(`./components/${key}/config.js`));
  } catch (err) {
    console.log("pc ext error:", err.message);
  }
});
export default {
  components: configs,
};
